/*
 * GuudFont.cpp
 *
 *  Created on: 2013-1-20
 *      Author: heqiu
 */

#include "GuudFont.h"

namespace guud {
GuudFont::GuudFont() {
	m_font = NULL;
}
GuudFont::~GuudFont() {
}
bool GuudFont::init(const char * name, int32_t iSize) {
	m_font = TTF_OpenFont(name, iSize);
	if (m_font == NULL) {
		return false;
	} else {
		return true;
	}
}

}

